#include <unistd.h>
#include <stdio.h>

int main() {
  printf("pid = %d, pgid = %d, sid = %d\n", getpid(), getpgid(getpid()), getsid(getpid()));
  return 0;
}
